package com.zhwl.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhwl.manage.domain.RateTreeCategories;

import java.util.List;

/**
 * 增值税分类Mapper接口
 *
 * @author mobin
 * @date 2025-07-22
 */
public interface RateTreeCategoriesMapper extends BaseMapper<RateTreeCategories> {
    /**
     * 查询增值税分类
     *
     * @param id 增值税分类主键
     * @return 增值税分类
     */
    public RateTreeCategories selectRateTreeCategoriesById(Long id);

    /**
     * 查询增值税分类列表
     *
     * @param rateTreeCategories 增值税分类
     * @return 增值税分类集合
     */
    public List<RateTreeCategories> selectRateTreeCategoriesList(RateTreeCategories rateTreeCategories);

    /**
     * 新增增值税分类
     *
     * @param rateTreeCategories 增值税分类
     * @return 结果
     */
    public int insertRateTreeCategories(RateTreeCategories rateTreeCategories);

    /**
     * 修改增值税分类
     *
     * @param rateTreeCategories 增值税分类
     * @return 结果
     */
    public int updateRateTreeCategories(RateTreeCategories rateTreeCategories);

    /**
     * 删除增值税分类
     *
     * @param id 增值税分类主键
     * @return 结果
     */
    public int deleteRateTreeCategoriesById(Long id);

    /**
     * 批量删除增值税分类
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRateTreeCategoriesByIds(Long[] ids);
}
